<script setup lang="ts">

import { ref } from 'vue';
const foods = ref(['烤肉', '小炒肉', '饺子', '拌面'])
</script>


<template>
  <div>
    <p v-for="(item,index) in foods" :key="item">
   {{ index+1 }} {{ item }}
  </p>
  </div>
</template>

<style>


</style>
